----------------------------------------------------
  DISCLAIMER
----------------------------------------------------
  This software is provided as-is for entertainment purposes.
  Use at your own risk. Everything works on my end, but I make
  no guarantees about stability across all setups or configurations.
  I am not responsible for any issues or consequences arising from its use.

  The bridge only communicates locally and with the official Autoblow API
  as documented above. No other data leaves your machine.



====================================================
  AutoblowBridge — How To Build
====================================================

This is for the people who own an Autoblow Device.

This folder contains the source code for the AutoblowBridge application.
You need to compile it once to get the AutoblowBridge.exe that the mod uses.
It takes about 30 seconds.

----------------------------------------------------
  REQUIREMENTS
----------------------------------------------------
  .NET 8 SDK (free, from Microsoft)
  Download: https://dotnet.microsoft.com/download/dotnet/8.0
  Pick ".NET 8.0 SDK" for Windows x64.

----------------------------------------------------
  HOW TO BUILD
----------------------------------------------------
  1. Open a Command Prompt (CMD) or the PowerShell window.

  2. Navigate to this folder: cd "C:\Users\YourName\Desktop\AutoblowAI Bridge Source Code"

     Replace "YourName" with your actual Windows username.
     Not sure what it is? Open File Explorer and look at what's inside C:\Users\
     Your username is one of the folders listed there.

  3. Run:
       dotnet publish -c Release -r win-x64 --self-contained false -o out

  4. Your compiled exe will be at:
       out\AutoblowBridge.exe

	Make sure it is called "AutoblowBridge.exe", or else it might not work correctly. (Haven't tested it otherwise.)

  5. Copy AutoblowBridge.exe to wherever you keep it (e.g. your GTA V scripts
     folder or desktop) and run it before launching GTA V.

  6. Keep running the ".exe". When you are ingame, enter your Autoblow Device Token in the CC menu. (Make sure your device is paired / in pairing mode)

  7. Click on connect, it should now connect to your Autoblow Device. Now you can select any action and the device will respond correctly

  8. Immersion!

----------------------------------------------------
  NOTES
----------------------------------------------------
  - "--self-contained false" means .NET 8 Runtime must be installed to run it.
    If you want a single portable exe with no runtime dependency, use:
       dotnet publish -c Release -r win-x64 --self-contained true -o out
    (produces a larger file but runs on any Windows PC without .NET installed)

  - The source code (Program.cs) is intentionally short and readable so you
    can verify exactly what it does before running it.

  - The bridge only ever connects to:
      127.0.0.1:28777  (local UDP — listens for commands from the mod)
      127.0.0.1:28778  (local UDP — sends pong replies back to the mod)
      latency.autoblowapi.com  (Autoblow's official API)
    It makes no other network connections.

Have fun :)